package com.bkgy.controller.allprocessRcl2150.controller;

import com.bkgy.controller.allprocessRcl2150.dto.AllProcessTbYieldRcl2150Requst;
import com.bkgy.controller.allprocessRcl2150.service.AllProcessRcl2150ExportService;
import com.bkgy.controller.allprocessRcl2150.service.AllProcessRcl2150Service;
import com.bkgy.sys.common.entity.ResultData;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

@Tag(name = "重卷2150明细表")
@RestController
@RequestMapping("/allprocess")

public class TbYieldRcl2150ExportController {

    @Autowired
    private AllProcessRcl2150ExportService allProcessRcl2150ExportService;

    @Operation(summary = "RCL2150明细表导出", description = "RCL2150明细表导出")
    @PostMapping("/rcl2150detaisexport")
    public void rcl2150detaisexport(@RequestBody @Valid AllProcessTbYieldRcl2150Requst request)
    {
        allProcessRcl2150ExportService.export2150(request);
    }
}